{{ define "default/article_content.html" }}
<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>{{.article.title}}</title>
		<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
		<meta name="keywords" content="">
		<meta name="description" content="">
		<link rel="stylesheet" href="/static/layui/css/layui.css">
		<link rel="stylesheet" href="/static/css/global.css">
		<style>
			.fly-list .fly-list-li {
				height: 40px;
				padding: 10px 0 10px 5px;
			}
		</style>
	</head>
	<body>

		{{template "public/page_header.html" .}}
		<div class="main layui-anim layui-anim-upbit layui-clear">
			<div class="layui-row layui-col-space15">
				<!-- left panel -->
				<div class="layui-col-md8 detail">
					<div class="fly-panel detail-box">
						<h1>{{.article.title}}</h1>
						<div class="fly-tip fly-detail-hint"  >
							<span class="layui-badge-rim layui-bg-black">精贴</span>
							<span class="layui-badge-rim layui-bg-red">置顶</span>

							<div class="fly-list-hint">
								<i class="layui-icon" title="人气"></i> {{.article.clicks}}
								<i class="layui-icon" title="回答"></i> 650
							</div>
						</div>
					 

						<div class="detail-body photos" style="margin-bottom: 20px;">
							{{.content}}

						</div>
					</div>
					<div class="fly-panel detail-box" style="padding-top: 0;">
						<a name="comment"></a>
					 

						<div class="layui-form layui-form-pane">
						 
						</div>
					</div>
				</div>
				<!-- right panel -->
				<div class="layui-col-md4">

					 
				 
					<!-- tag -->
					<div class="fly-panel fly-list-one fly-tag">
						<h3 class="fly-panel-title">标签云</h3>
						<div class="fly-panel-content">
							{{range $key,$value := .cats}}
							<a href="/cat/{{$value.id}}" class="layui-badge layui-bg-orange">{{$value.cname}}</a>
							{{end}} 
						</div>
					</div>
					<!-- 最近综合 -->
					<dl class="fly-panel fly-list-one">
						<dt class="fly-panel-title">最近综合</dt>
						{{range $key,$value := .list1}}
						<dd>
							<a href="/content/{{$value.id}}">{{$value.title}}</a>
							<span><i class="layui-icon"></i>{{$value.post_time}}</span>
						</dd>
						{{end}} 
					</dl>
					<!-- 最近人气 -->
					<dl class="fly-panel fly-list-one">
						<dt class="fly-panel-title">最近人气</dt>
						{{range $key,$value := .list2}}
						<dd>
							<a href="/content/{{$value.id}}">{{$value.title}}</a>
							<span><i class="layui-icon"></i>{{$value.post_time}}</span>
						</dd>
						{{end}}  
					</dl>
					<!-- 最近热议 -->
					 
					<!-- 友链 -->
					<div class="fly-panel fly-link">
						<h3 class="fly-panel-title">友情链接</h3>

					</div>

				</div>
			</div>
		</div>


		{{template "public/page_footer.html" .}}

		{{end}}
